package com.lwh.ssl;

import java.io.FileNotFoundException;
import java.net.URL;

/**
 * @Description: ssl  参数接口
 * @Date: 2019-09-12
 * @author: luowuhui
 */
public interface QztSsl {
	/**
	 *
	 * @return 一个key 证书的 URL
	 * @throws FileNotFoundException
	 */
	 URL keyStoreURL () throws FileNotFoundException;

	/**
	 *
	 * @return 一个ca.crt(ca 公钥)证书的 URL
	 * @throws FileNotFoundException
	 */
	 URL trustStoreURL () throws FileNotFoundException;

	/**
	 *
	 * @return
	 */
	 char[] storeKeyPass ();

	/**
	 *
	 * @return \key证书的密码
	 */
	 char[] keyPass ();
}
